Package-level declarations
Types
Link copied to clipboard
class AssetAddingTool<T>(val delegate: Tool, val assetTracker: AssetTracker, val converter: (T) -> Asset, val clazz: Class<T>, val artifactFilter: (T) -> Boolean = { true }) : DelegatingTool
Add the result of calling this tool as an asset to the given AssetTracker if it is of the expected type. Also unwraps Iterables of the expected type.
Link copied to clipboard
class EventPublishingConversation(delegate: Conversation, eventPublisher: <Error class: unknown class>, fromUserId: String? = null, toUserId: String? = null) : Conversation
A decorator that wraps any Conversation to publish MessageEvents when messages are added.
Link copied to clipboard
Simple in-memory implementation of AssetTracker for testing and ephemeral use cases.
Link copied to clipboard
Simple in-memory implementation of Conversation for testing and ephemeral use cases.
Link copied to clipboard
class InMemoryConversationFactory(eventPublisher: <Error class: unknown class>? = null) : ConversationFactory
Factory for creating in-memory Conversation instances.
Link copied to clipboard
@ApiStatus.Experimental
Conversation formatter that selects the most recent messages that fit within a token budget. Accumulates messages from the end backward until the budget is exhausted.